package com.lc.luzhengtang.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/6/5.
 */

public class ShopCarListBean {

    /**
     * code : 200
     * message : 成功
     * data : {"total":2,"per_page":20,"current_page":"1","data":[{"title":"干鹿茸哈哈","picurl":"uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg","market_price":"300.00","number":15,"goods_id":1,"id":12},{"title":"干满胶囊","picurl":"uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg","market_price":"20.00","number":1,"goods_id":2,"id":13}]}
     */

    private int code;
    private String message;
    private DataBeanX data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * total : 2
         * per_page : 20
         * current_page : 1
         * data : [{"title":"干鹿茸哈哈","picurl":"uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg","market_price":"300.00","number":15,"goods_id":1,"id":12},{"title":"干满胶囊","picurl":"uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg","market_price":"20.00","number":1,"goods_id":2,"id":13}]
         */

        private int total;
        private int per_page;
        private String current_page;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public String getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(String current_page) {
            this.current_page = current_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * title : 干鹿茸哈哈
             * picurl : uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg
             * market_price : 300.00
             * number : 15
             * goods_id : 1
             * id : 12
             */
            public boolean isChoosed;

            public boolean isChoosed() {
                return isChoosed;
            }

            public void setChoosed(boolean choosed) {
                isChoosed = choosed;
            }



            /**
             * 是否选中
             */
            private boolean isChoose;
            private String title;
            private String picurl;
            private String market_price;

            public String getSales() {
                return sales;
            }

            public void setSales(String sales) {
                this.sales = sales;
            }

            private String sales;
            private int number;
            private int goods_id;
            private int id;
            private int count;

            public int getCount() {
                return count;
            }

            public void setCount(int count) {
                this.count = count;
            }

            public boolean getSelected() {
                return isSelected;
            }

            public void setSelected(boolean selected) {
                isSelected = selected;
            }

            private boolean isSelected;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getPicurl() {
                return picurl;
            }

            public void setPicurl(String picurl) {
                this.picurl = picurl;
            }

            public String getMarket_price() {
                return market_price;
            }

            public void setMarket_price(String market_price) {
                this.market_price = market_price;
            }

            public int getNumber() {
                return number;
            }

            public void setNumber(int number) {
                this.number = number;
            }

            public int getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(int goods_id) {
                this.goods_id = goods_id;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }
        }
    }
}
